package com.by.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.by.entity.Goods;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 黄佳辉
 * @since 2023-01-04
 */
public interface GoodsService extends IService<Goods> {

    Boolean saveWithPic(Goods goods);

    Page<Goods> queryByPage(Integer page, Integer pageSize);

    Boolean updateWithPic(Goods goods);
}
